package com.nbgs.demo.service.impl;

import com.nbgs.demo.dao.ConsumptionMapper;
import com.nbgs.demo.model.Consumption;
import com.nbgs.demo.service.ConsumptionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ConsumptionServiceImpl implements ConsumptionService {
    @Autowired
    private ConsumptionMapper consumptionMapper;
    @Override
    public void InsertUserMessage(Consumption consumption) {
       consumptionMapper.InsertUserMessage(consumption);
    }
}
